<!---->        
        	<div class="box1">
            	<p class="title">Grow your fitness network</p>
                <&if $user.facebook_user&>
                <span>Invite your friends to get active, cheer you up and give advices</span>
                <ul id="invite_friend_list">
                    <&if $user.facebook_user && $user.upload_fb_friends&>
                    <&foreach item=friend from=$user.fb_friend_list name=fb_friend_list &>
                    <li>
                        <!--<img src="/image/face.gif" />-->
                        <img src="https://graph.facebook.com/<&$friend.id&>/picture" />
                        <p class="name"><&$friend.name|truncate:12:"":true&></p>
                        <p class="oper"><a href="#" class="invite"  user_id="<&$friend.id&>"></a><a href="#" class="skip" user_id="<&$friend.id&>">skip</a></p>
                        <p class="from">via wall post</p>
                    </li>
                    <&/foreach&>
                    <&/if&>
                </ul>
                
                <&else&>
                <div id="login-out">
                	<a href="#nogo" class="fackbook-login" id="facebook_login"></a>
                </div>
                <&/if&>
                <script>
                var is_facebook_user = <&$user.facebook_user&>;
                <&if $user.facebook_user&>
                var is_upload_fb_friends = <&$user.upload_fb_friends&>;
                <&/if&>
                </script>
                
                <div class="more">
                	<div class="box">
                    <&if $user.user_type == 2&>
                    	<p>Want to be more active?</p>
                        <a href="#pop1" class="show_pop1">Post another goal</a>
                    <&else&>
                        <p>Want more clients?</p>
                        <a href="<&$web_site&>/goal/search">browse goals and bid</a>
                    <&/if&>
                    </div>
                </div>
            
            
                    
            </div>

<!----> 